<template>
  <el-config-provider :locale="zhCn">
    <DndProvider :backend="HTML5Backend">
       <RouterView />
    </DndProvider>
  </el-config-provider>
</template>

<script setup lang="ts">
  import { RouterView } from 'vue-router'
  import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
  import { DndProvider } from 'vue3-dnd'
  import { HTML5Backend } from 'react-dnd-html5-backend'

</script>

<style>
  html.dark {
    background-color: #000;
  }
  html.light {
    background-color: #fff;
  }
</style>
